<%--
  Created by IntelliJ IDEA.
  User: 29265
  Date: 2024/6/4
  Time: 10:03
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>单词学习系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
        }
        .header {
            background-color: #4CAF50;
            color: #fff;
            padding: 2px;
            text-align: center;
            font-size: 24px;
        }
        .header a {
            text-decoration: none;
            color: #41c1b4;
            margin-right: 10px;
        }
        .header a:hover {
            text-decoration: underline;
            color: #c94c4c;
        }
        /* 如果需要，可以为特定的用户名颜色定义一个新的类 */
        .user-name {
            color: #fff; /* 用户名颜色为白色 */
        }
        .menu {
            background-color: #e7e7e7;
            width: 150px;
            padding: 20px;
            text-align: center;
            vertical-align: top;
        }
        .menu a {
            display: block;
            margin: 10px 0;
            padding: 20px 0;
            color: #333;
            text-decoration: none;
        }
        .menu a:hover {
            background-color: #96b897;
        }
        .content {
            padding: 20px;
            vertical-align: top;
        }
        .footer {
            background-color: #333;
            color: #fff;
            padding: 20px;
            text-align: center;
        }
    </style>
</head>
<body>

<div class="header">
    <h2>单词学习系统
        <div align="right">
            <span style="color: #a4db0b" class="user-name"> 欢迎您 <u>${userName}</u></span>
            <a href="userSystemServlet?opsCode=loginOut">退出</a>
        </div>
    </h2>
</div>

<table align="center" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td class="menu">
            <h3>系统菜单</h3>
            <p>
                <a href="userSystemServlet?opsCode=wordsList" target="tagert">单词库</a>
            </p>
            <p>
                <a href="userSystemServlet?opsCode=study" target="tagert">学习</a>
            </p>
            <p>
                <a href="userSystemServlet?opsCode=setting" target="tagert">修改密码</a>
            </p>
        </td>
        <td class="content">
            <iframe width="100%" height="600px" name="tagert" src="1.jsp"></iframe>
        </td>
    </tr>
</table>
<div class="footer">
    <h4>!@&nbsp;&nbsp;suhao_2005@163.com</h4>
</div>

</body>
</html>